#include "app_common.h"
#include <stdio.h>
#include <string.h>
int main(int argc, char const *argv[])
{
    long ts= app_common_getcurtime_ms();
    printf("ts=%ld\n",ts);
    
    char bytes[3]={0x41,0x42,0x43};
    char *hexstr= app_common_bytes2hexstr(bytes,3);
    printf("hexstr=%s\n",hexstr);

    char *hexstr2= "616263";
    char data_buff[10];

    int bytes_len= app_common_hexstr2bytes(hexstr2,data_buff,10);
    for (size_t i = 0; i < bytes_len; i++)
    {
        printf("%02x",data_buff[i]);
    }

    return 0;
}
